From: Jasper St. Pierre Date: Mon, 28 Apr 2014 14:16:56 +0000 (-0400) Subject: util: Don't pass too many arguments to child_watch_add X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2514 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f8bac5c19769672fc38cb9f927bb633e2d45d3a7;p=gnome-shell.git util: Don't pass too many arguments to child_watch_add --- diff --git a/js/misc/util.js b/js/misc/util.js index ba5de4a75..e78c551fd 100644 --- a/js/misc/util.js +++ b/js/misc/util.js @@ -129,7 +129,7 @@ function trySpawn(argv) // Dummy child watch; we don't want to double-fork internally // because then we lose the parent-child relationship, which // can break polkit. See https://bugzilla.redhat.com//show_bug.cgi?id=819275 - GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {}, null); + GLib.child_watch_add(GLib.PRIORITY_DEFAULT, pid, function () {}); } // trySpawnCommandLine: